package com.bong.ring.util;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by panpan on 2017/9/27.
 */

public class Common {
    private static Toast toast;
    public static void showToast(Context context, String msg) {
        if(toast!=null)
            toast.cancel();
        toast=Toast.makeText(context, msg, Toast.LENGTH_LONG);
        toast.show();
    }
}
